import osascript
import time
volume = 100
print("Started")
while True:
    for volume in range(100, -1, -1):
        print("Volume is now: {}".format(volume))
        osascript.osascript("set volume output volume {}".format(volume))
        time.sleep(30)
